package com.msb.strategy;

/**
 * @Auther： WangLei
 * @Date： 2021/9/12-09-12-23:31
 * @Description: com.msb.strategy
 * @version: 1.0
 */
public class CatWeightStrategy implements MyComparator<Cat> {

    @Override
    public boolean compare(Cat t1, Cat t2) {
        return t1.weight >= t2.weight;
    }
}
